Skip to main content

arangorestore

arangorestore allows you to restore logical backups of the data into your database created by arangodump.

Importing data

tip

Please replace the content in <> with your deployment specific information

  • If you are using ArangoGraph the port is typically 18529 and NOT 8529; 8529 is only used for the WebUI for ArangoGraph
  • If you are using a manual deployment the port is typically 8529 or whatever specific port you configured with port mapping (docker/k8s)
  1. Extract the travel-data-dump.zip into a folder of your choice on your local machine

  2. Use the following syntax to import the provided dump into your database:

    arangorestore  --server.endpoint <protocol>://<hostname>:<port> \
    --create-collection true \
    --import-data true \
    --overwrite true \
    --server.username <username> \
    --input-directory <extracted dump directory> \

    Example output:

    > arangorestore   --server.endpoint http+ssl://54a63d5bf946.arangodb.cloud:18529 --server.username 'root' --create-collection true --overwrite true --input-directory dump
    Please specify a password:
    2023-08-15T01:16:06Z [46823] INFO [06792] {restore} Server version: 3.10.9
    2023-08-15T01:16:06Z [46823] INFO [05c30] {restore} Connected to ArangoDB 'http+ssl://54a63d5bf946.arangodb.cloud:18529'
    2023-08-15T01:16:09Z [46823] INFO [6d69f] {restore} # Dispatched 0 job(s), using 12 worker(s)
    2023-08-15T01:16:09Z [46823] INFO [a66e1] {restore} Processed 0 collection(s) from 1 database(s) in 2.27 s total time. Read 0 bytes from datafiles, sent 0 data batch(es) of 0 bytes total size.

Congratulations! Your data is now restored and ready to use

 
Help us improve

Anything unclear or buggy in this tutorial? Provide Feedback